﻿using System;
namespace DoFactory.GangOfFour.Abstract.Structural
{
    /// <summary>
    /// The 'ConcreteFactory2' class
    /// </summary>
    class ConcreteCoupe : AbstractFactory
    {
        public override AbstractMasina CreateMasina()
        {
            Coupe masina=new Coupe();
            Console.WriteLine("Nume masina:");
            masina.set_nume(Console.ReadLine());
            Console.WriteLine("Culoare:");
            masina.set_culoare(Console.ReadLine());
            Console.WriteLine("Transmisie:");
            masina.set_transmisie(Console.ReadLine());
            Console.WriteLine("Dotari:");
            masina.set_dotari(Console.ReadLine());
            Console.WriteLine("Motorizare:");
            masina.set_motorizare(Console.ReadLine());
            Console.WriteLine("Dimensiuni: (120x180)");
            masina.set_dimensiuni(Console.ReadLine());
            return masina;
        }
    }
}
